package com.a4studio.android.util;

import java.io.Serializable;

public class NewsItem implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	public final static String RESULT = "Result";
	public final static String TITLE = "Title";
	public final static String SUMMARY = "Summary";
	public final static String URL = "Url";
	public final static String CLICKURL = "ClickUrl";
	public final static String NEWSSOURCE = "NewsSource";
	public final static String NEWSSOURCEURL = "NewsSourceUrl";
	public final static String LANGUAGE = "Language";
	public final static String PUBLISHDATE = "PublishDate";
	public final static String MODIFICATIONDATE = "ModificationDate";

	private String title;
	private String summary;
	private String url;
	private String clickUrl;
	private String newsSource;
	private String newsSrouceUrl;
	private String language;
	private long publishDate;
	private long modifDate;
	
	private String content;

	/**
	 * @return the title
	 */
	public String getTitle() {
		return title;
	}

	/**
	 * @param title
	 *            the title to set
	 */
	public void setTitle(String title) {
		this.title = title;
	}

	/**
	 * @return the summary
	 */
	public String getSummary() {
		return summary;
	}

	/**
	 * @param summary
	 *            the summary to set
	 */
	public void setSummary(String summary) {
		this.summary = summary;
	}

	/**
	 * @return the url
	 */
	public String getUrl() {
		return url;
	}

	/**
	 * @param url
	 *            the url to set
	 */
	public void setUrl(String url) {
		this.url = url;
	}

	/**
	 * @return the clickUrl
	 */
	public String getClickUrl() {
		return clickUrl;
	}

	/**
	 * @param clickUrl
	 *            the clickUrl to set
	 */
	public void setClickUrl(String clickUrl) {
		this.clickUrl = clickUrl;
	}

	/**
	 * @return the newsSource
	 */
	public String getNewsSource() {
		return newsSource;
	}

	/**
	 * @param newsSource
	 *            the newsSource to set
	 */
	public void setNewsSource(String newsSource) {
		this.newsSource = newsSource;
	}

	/**
	 * @return the newsSrouceUrl
	 */
	public String getNewsSrouceUrl() {
		return newsSrouceUrl;
	}

	/**
	 * @param newsSrouceUrl
	 *            the newsSrouceUrl to set
	 */
	public void setNewsSrouceUrl(String newsSrouceUrl) {
		this.newsSrouceUrl = newsSrouceUrl;
	}

	/**
	 * @return the language
	 */
	public String getLanguage() {
		return language;
	}

	/**
	 * @param language
	 *            the language to set
	 */
	public void setLanguage(String language) {
		this.language = language;
	}

	/**
	 * @return the publishDate
	 */
	public long getPublishDate() {
		return publishDate;
	}

	/**
	 * @param publishDate
	 *            the publishDate to set
	 */
	public void setPublishDate(long publishDate) {
		this.publishDate = publishDate;
	}

	/**
	 * @return the modifDate
	 */
	public long getModifDate() {
		return modifDate;
	}

	/**
	 * @param modifDate
	 *            the modifDate to set
	 */
	public void setModifDate(long modifDate) {
		this.modifDate = modifDate;
	}

	
	/**
	 * @return the content
	 */
	public String getContent() {
		return content;
	}

	/**
	 * @param content the content to set
	 */
	public void setContent(String content) {
		this.content = content;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return this.title+"\n"+
		this.summary +"\n"+
		this.url+"\n"+
		this.clickUrl+"\n"+
		this.newsSource+"\n"+
		this.newsSrouceUrl+"\n"+
		this.language+"\n"+
		this.publishDate+"\n"+
		this.modifDate+"\n";
	}

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub

	}

}
